/**
 *
 * Copyright 2012 TeleNav, Inc. All rights reserved.
 * MapDataRequest.java
 *
 */
package com.telenav.snowsweeper.net;

import com.telenav.snowsweeper.UrlsOfServer;

/**
 *@author hhzhu
 *@date 2012-12-7
 */
public class MapDataRequest extends AbstractRequest
{
    private int level;
    public MapDataRequest(ICallBack caller, int level)
    {
        super(caller);
        this.level = level;
    }
    
    @Override
    public String getRequestUrl()
    {
        String url = UrlsOfServer.getInsttance().getURLByType(UrlsOfServer.TYPE_CONFIG_MAP) + "?level=" + level;
        return  url;
    }

}
